<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <th:block th:include="include :: header('专家变动批次列表')" />
</head>
<body class="gray-bg">
<div class="container-div">
    <div class="row" id="zhuanjiabiandongpici_shenhe">

        <!--登录信息-->
        <input name="userid" th:value="${session.userid}" type="hidden" id="userid">
        <input name="username" th:value="${session.username}" type="hidden" id="username">
        <input name="deptid" th:value="${session.deptid}" type="hidden" id="deptid">

        <div class="col-sm-12 search-collapse">
            <form id="formId">
                <div class="select-list">
                    <ul>
                        <li>
                            <label>批次名称：</label>
                            <input type="text" name="picimingcheng" v-model="picimingcheng"/>
                        </li>
                        <li>
                            <label>审核状态：</label>
                            <select class="form-control" v-model="shenhezhuangtai">
                                <option value="0">待审核</option>
                                <option value="1">已通过</option>
                                <option value="2">未通过</option>
                            </select>
                        </li>
                        <li>
                            <a class="btn btn-primary btn-rounded btn-md" @click="bindBiandongPiciList"><i class="fa fa-search"></i>&nbsp;搜索</a>
                            <a class="btn btn-warning btn-rounded btn-md" onclick="$.form.reset()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
                        </li>
                    </ul>
                </div>
            </form>
        </div>

        <div class="col-sm-12 select-table table-striped">

            <table class="table table-hover table-primary table-striped">
                <thead>
                <tr>
                    <th style="text-align: center; vertical-align: middle;">序号</th>
                    <th style="text-align: center; vertical-align: middle;">单位名称</th>
                    <th style="text-align: center; vertical-align: middle;">批次名称</th>
                    <th style="text-align: center; vertical-align: middle;">提交时间</th>
                    <th style="text-align: center; vertical-align: middle;">审核时间</th>
                    <th style="text-align: center; vertical-align: middle;">审核意见</th>
                    <th style="text-align: center; vertical-align: middle;">操作</th>
                </tr>
                </thead>
                <tbody>
                <tr v-for="(biandongpiciitem,index) in biandongpicilist"  v-if="biandongpicilist.length > 0">
                    <td style="vertical-align: middle; text-align: center;" v-text="index+1"></td>
                    <td style="vertical-align: middle; text-align: center;" v-text="biandongpiciitem.danweimingcheng"></td>
                    <td style="vertical-align: middle; text-align: center;" v-text="biandongpiciitem.picimingcheng"></td>
                    <td style="vertical-align: middle; text-align: center;" v-text="biandongpiciitem.renwuxiafashijian"></td>
                    <td style="vertical-align: middle; text-align: center;" v-text="biandongpiciitem.renwuwanchengshijian"></td>
                    <td style="vertical-align: middle; text-align: center;" v-text="biandongpiciitem.shenpiyijian"></td>
                    <td style="vertical-align: middle; text-align: center;" v-text="">
                        <button class="btn btn-warning btn-rounded btn-md" @click="toDetailList(biandongpiciitem)">专家变动详情</button>
                        <button class="btn btn-default btn-rounded btn-md" @click="showShenhejiluModel(biandongpiciitem.shiwuid)">审核记录</button>
                    </td>
                </tr>
                <tr v-if="biandongpicilist.length == 0">
                    <td style="text-align: center; vertical-align: middle" colspan="7">查无数据</td>
                </tr>
                </tbody>
            </table>

        </div>

        <!--  审核记录-->
        <div th:replace="system/renwu/modal_shenhejilu::shenhejilu"></div>

    </div>
</div>
    <th:block th:include="include :: footer" />
     <script th:src="@{/js/system/zhuanjiabiandongpici/customzhuanjiabiandongpici_shenhe.js?v=1.0}"></script>
</body>
</html>